package com.tandashi.springbootstudy01.service;

import com.tandashi.springbootstudy01.dao.rrd.Opening2023Mapper;
import com.tandashi.springbootstudy01.domain.activity.Opening2023;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Opening2023Service {

    @Autowired
    private Opening2023Mapper opening2023Mapper;

    public Opening2023 selectOne(String agentCode, String holderId) {
        return opening2023Mapper.selectOne(agentCode, holderId);
    }

    public int insert(Opening2023 message) {
        return opening2023Mapper.insert(message);
    }

    public int update(Opening2023 message) {
        return opening2023Mapper.update(message);
    }
}
